package com.example.elderlycare.service.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@Builder
public class BookRecordItem {
    private Integer id;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date bookingDate;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date checkInDate;
    private String bookerName;
    private String bookerPhone;
    private String elderName;
    private Integer elderCertificateId;
    private String elderCertificate;
    private String elderNumber;
    private Integer nurseId;
    @TableField(exist = false)
    private String nursingHome;
    private String selfCareSituation;
    private Integer status;
}
